<?php
namespace Home\Model;
use Think\Model;
/*
	商品模型
	id 
	name
	desc
	pic thumb
		origin
	payCount
	commentCount
	place
	expressplace
	format 
		id
		name
		price
	detail
	
	自动映射需要使用D才行
 */
class GoodModel extends Model{
	protected $_map = array(
         'id' =>'good_id',  
         'goodname'=>'name',
         'desc'  =>'description',
     );
	
}